#include <stdio.h>

int main()
{
   printf("====1. 注册 =====\n");
   printf("====2. 注册 =====\n");
   printf("====3. 注册 =====\n");
   
   short choice = 0;
   printf("请输入你的选项:");
   scanf("%hd",&choice);
   printf("choice:%d\n",choice);
   switch(choice)
{

  case 1:
  printf("注册好了\n");
  break;            //必须要有break
  case 2:
  printf("登录好了\n");
  break;
  case 3:
  printf("退出\n");
  break;
  default:
  printf("输错了，重输\n");
  break;




}
   return 0;

}